package com.yunxin.admin.system.api.download.command;

import com.yunxin.common.base.BasePageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Schema(description = "分页查询渠道预付款列表对象")
public class DownloadMerchantAdvanceChargeRecordCommand extends BasePageRequest implements Serializable {
    /**
     * 预付款日期开始 yyyy-mm-dd
     */
    @Schema(description = "预付款日期 yyyy-mm-dd")
    private String startAdvanceChargeDate;

    /**
     * 预付款日期结束 yyyy-mm-dd
     */
    @Schema(description = "预付款日期 yyyy-mm-dd")
    private String endAdvanceChargeDate;

    /**
     * 商户id
     */
    @NotNull(message = "商户id不能为空")
    @Schema(description = "商户id")
    private Long merchantId;

    /**
     * 产品id
     */
    @Schema(description = "产品id")
    private Long productId;
}
